#define _CRT_SECURE_NO_WARNINGS 1

#include <iostream>
using namespace std;

int main()
{
	int x = 0;
	cin >> x;
	cout << x << endl;
	cout << "Hello C++" << endl;
	return 0;
}